import request from '@/utils/request'

//登录
export function login(data) {
  return request({
    url: '/v1/user/login',
    method: 'post',
    data
  })
}
//检查登录状态
export function getInfo(token) {
  return request({
    url: '/v1/user/status',
    method: 'post',
  })
}

//退出登录
export function logout() {
  return request({
    url: '/vue-admin-template/user/logout',
    method: 'post'
  })
}



            